<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">

<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
	<meta name="description" content="<?php echo get_setting('Meta Description'); ?>" />
	<meta name="keywords" content="<?php echo get_setting('Meta Keywords'); ?>" />
	<meta name="author" content="<?php echo get_setting('Author'); ?>" />
	<link rel="stylesheet" type="text/css" href="<?php echo $theme_url; ?>style.css" media="screen" />
	<title><?php echo page_menu_title(); ?><?php echo bread_crumbs(' &raquo; ', true); ?><?php echo get_setting('Site Name'); ?></title>
</head>

<body id="top">

<div id="layout_wrapper">
<div id="layout_wrapper2">
<div id="layout_wrapper3">
<div id="layout_wrapper4">

	<div id="header_wrapper">
		<div id="header">
		
			<div id="site_title">
				<h1><a href="<?php echo $base_url; ?>"><?php echo get_setting('Site Name'); ?></a></h1>
				<h2><?php echo get_setting('Slogan'); ?></h2>
			</div>

		</div>
	</div>

	<div id="navigation">

		<div id="nav">
		
			<?php echo navigation("<ul class='tabbed'>%s</ul>",
			"<ul class='subnav' style='display:none;'>%s</ul>", "<li><a href='%2\$s'>%1\$s</a></li>",
			"<li class=\"current_page_item\"><a href='%2\$s'>%1\$s</a></li>", "<li><a href='%2\$s'>%1\$s</a></li>",
			"<li class=\"current_page_item\"><a href='%2\$s'>%1\$s</a></li>"); ?>

			<div class="clearer">&nbsp;</div>

		</div>


	</div>

	<div id="main_wrapper">
		<div id="main">

			<div class="left" id="content_wrapper">
				<div id="content">

					<h1><?php echo page_title(); ?></h1>
					
					<?php echo page_content(); ?>
										
				</div>
			</div>

			<div class="right" id="sidebar_wrapper">
				<div id="sidebar">
					<?php echo sidebar('%s',<<<EOT
					<div class="box">
						<div class='box_title'>%1\$s</div>
						<div class="box_content">%2\$s</div>
					</div>
EOT
, array("\n<ul>\n%s\n</ul>\n"), array("\n<ul>\n%s\n</ul>\n")); ?>

				</div>
			</div>

			<div class="clearer">&nbsp;</div>

		</div>
	</div>


	<div id="footer">

		<div class="left">
			<?php echo get_setting('Footer');?>. <?php echo get_setting('Powered By'); ?>
		</div>
		<div class="right">
			<a href="http://templates.arcsin.se/">Website template</a> by <a href="http://arcsin.se/">Arcsin</a> 
		</div>
		
		<div class="clearer">&nbsp;</div>

	</div>

</div>
</div>
</div>
</div>

</body>
</html>